package com.ruihui.activity.util;

public class ResultForPage extends Result {

  private long count;
  private int pages;
  private int pageNum;

  public ResultForPage() {
  }

  public ResultForPage(long count, int pageNum, int pages) {
    this.count = count;
    this.pages = pages;
    this.pageNum = pageNum;
  }

  public ResultForPage(Integer code, String msg, long count, int pages, int pageNum) {
    super(code, msg);
    this.count = count;
    this.pages = pages;
    this.pageNum = pageNum;
  }

  public long getCount() {
    return count;
  }

  public void setCount(long count) {
    this.count = count;
  }

  public int getPages() {
    return pages;
  }

  public void setPages(int pages) {
    this.pages = pages;
  }

  public int getPageNum() {
    return pageNum;
  }

  public void setPageNum(int pageNum) {
    this.pageNum = pageNum;
  }
}
